import React, { Component } from 'react';
import "./Movie.css"
import common from "./common.module.css"

class Movie extends Component {

  constructor(){
    super();
    this.state ={
      styleObj:{
        fontSize:'50px'
      }
    }
  }
 
  render() {
    return (
      // class 引用
      <div className="container">
        {/* 行内样式 */}
        <h1 style={{'fontSize':'20px'}}>正在热映</h1>
        <h1 style={this.state.styleObj}>即将上映</h1>
        {/* module css */}
        <h1 className={common.error}>异常信息</h1>
      </div>
    );
  }
}

export default Movie;